package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品管理对象 saller
 * 
 * @author 张旭
 * @date 2024-09-05
 */
public class Saller extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品编号 */
    private Long sallerId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String sellerName;

    /** 商品类型 */
    @Excel(name = "商品类型")
    private String sallerType;

    /** 商品日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "商品日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sallerDate;

    public void setSallerId(Long sallerId) 
    {
        this.sallerId = sallerId;
    }

    public Long getSallerId() 
    {
        return sallerId;
    }
    public void setSellerName(String sellerName) 
    {
        this.sellerName = sellerName;
    }

    public String getSellerName() 
    {
        return sellerName;
    }
    public void setSallerType(String sallerType) 
    {
        this.sallerType = sallerType;
    }

    public String getSallerType() 
    {
        return sallerType;
    }
    public void setSallerDate(Date sallerDate) 
    {
        this.sallerDate = sallerDate;
    }

    public Date getSallerDate() 
    {
        return sallerDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sallerId", getSallerId())
            .append("sellerName", getSellerName())
            .append("sallerType", getSallerType())
            .append("sallerDate", getSallerDate())
            .toString();
    }
}
